package com.qf.service.impl;

import com.qf.mapper.TypeDao;
import com.qf.mapper.TypeDaoImpl;
import com.qf.pojo.Type;
import com.qf.service.TypeService;

import java.util.List;

public class TypeServiceImpl implements TypeService {
    @Override
    public List<Type> findAllType() {
        TypeDao typeDao = new TypeDaoImpl();
        List<Type> list = typeDao.findAll();
        return list;
    }
}
